From ea203ff9ad1b4d4211dfa0af2665f6cb5c05e75e Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Mon, 18 Jun 2007 13:36:36 -0600 Subject: [PATCH] [IA64] Typo fix: avoid spurious errors. Signed-off-by: Tristan Gingold --- tools/libxc/ia64/xc_dom_ia64_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxc/ia64/xc_dom_ia64_util.c b/tools/libxc/ia64/xc_dom_ia64_util.c index d1d15f405c..37a41201df 100644 --- a/tools/libxc/ia64/xc_dom_ia64_util.c +++ b/tools/libxc/ia64/xc_dom_ia64_util.c @@ -104,7 +104,7 @@ xen_ia64_is_vcpu_allocated(struct xc_dom_image *dom, uint32_t vcpu) if (rc == 0) return 1; - if (rc != -ESRCH) + if (errno != ESRCH) PERROR("Could not get vcpu info"); return 0; } -- 2.30.2